package com.laizhenghua.demo.constant;

public enum ResponseCodeEnum {
    SUCCESS(200, "处理成功"),
    FAIL(201, "处理失败");

    ResponseCodeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    private int code;

    private String desc;

    public int getCode() {
        return code;
    }


    public String getDesc() {
        return desc;
    }

}
